{{- if hasPrefix .Site.GoogleAnalytics "G-" -}}
  {{- template "_internal/google_analytics.html" . -}}
{{- else -}}
  {{- template "_internal/google_analytics_async.html" . -}}
{{- end -}}